<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/jsp/business/include/doctype.jsp" %>
</head>
<body>
	<div id="wrap">
		<div class="header">
			<h1>O.I. 제안</h1>
			<p class="list"><a href="javascript:closeTypeEffect();"><img src="${requestScope.contextPath}/images/btn/btn_close2.gif" alt="닫기" /></a></p>
		</div><!-- // header -->
		<div class="content">
			<h3>유형효과</h3>
			<div class="access">
			<div class="table5">
				<table summary="" cellspacing="0" style="width:100%">
					<caption>concise 검색</caption>
					<colgroup>
						<col style="width:20%" />
						<col style="width:80%" />
					</colgroup>
					<tbody>
						<tr>
							<th scope="row">유형효과</th>
							<td>
								<select style="width:50%" id="typeEffect_" onchange="typeEffectOnchange(this.value);">
									<option value="">유형효과 선택</option>
									<c:forEach var="map" items="${gbList}" varStatus="state">
									<option value="${map.UCODE}">${map.SUB1}</option>
									</c:forEach>
								</select>
							</td>
						</tr>
						<tr>
							<th scope="row">산출근거</th>
							<td><textarea cols="" rows="3" id="workBase_" class="comment" ></textarea></td>
						</tr>
					</tbody>
					<c:choose>
					<c:when test="${sessionScope.SESSION_USER_INFO.CompanyCD eq 'KEC'}">
					<tbody id="yearTbody" style="display: none;">
						<tr>
							<th scope="row">년간환산</th>
							<td>
								<p><span class="subtitle">전체효과</span></p>
								<p><input type="text" id="money1_" class="intxt3" onkeyup="numCheck(this.value, this);" /> 원</p>
								<p><span class="subtitle">금년효과</span></p>
								<p><input type="text" id="money2_" onkeyup="numCheck(this.value, this);" class="intxt3" /> 원</p>
							</td>
						</tr>
					</tbody>
					<tbody id="salesTbody" style="display: none;">
						<tr>
							<th scope="row">매 출</th>
							<td>
								<p><span class="subtitle">전체효과</span></p>
								<p><input type="text" id="money3_" class="intxt3" onkeyup="numCheck(this.value, this);" /> 원</p>
								<p><span class="subtitle">금년효과</span></p>
								<p><input type="text" id="money4_" class="intxt3" onkeyup="numCheck(this.value, this);" /> 원</p>
							</td>
						</tr>
						<tr>
							<th scope="row">매출이익</th>
							<td>
								<p><span class="subtitle">전체효과</span></p>
								<p><input type="text" id="money5_" class="intxt3" onkeyup="numCheck(this.value, this);" /> 원</p>
								<p><span class="subtitle">금년효과</span></p>
								<p><input type="text" id="money6_" class="intxt3" onkeyup="numCheck(this.value, this);" /> 원</p>
							</td>
						</tr>
					</tbody>
					</c:when>
					<c:otherwise>
					<tbody id="yearTbody" style="display: none;">
						<tr>
							<th scope="row">년간환산</th>
							<td>
								<p><span class="subtitle">년간효과</span>향후 1년간을 예상한 효과금액 산출</p>
								<p><input type="text" id="money1_" class="intxt3" onkeyup="numCheck(this.value, this);" /> 원</p>
								<p><span class="subtitle">금년효과</span>현재부터 금년까지의 효과금액 산출</p>
								<p><input type="text" id="money2_" onkeyup="numCheck(this.value, this);" class="intxt3" /> 원</p>
							</td>
						</tr>
					</tbody>
					</c:otherwise>
					</c:choose>
				</table>
			</div>
			<div>
			<p class="btn_more" style="padding-bottom:20px;">
				<a href="javascript:tpyeEffectWrite();"><img src="${requestScope.contextPath}/images/btn/register.gif" alt="등록" /></a>&nbsp;&nbsp;
				<a href="javascript:closeTypeEffect();"><img src="${requestScope.contextPath}/images/btn/btn_reset.gif" alt="취소" /></a>
			</p>
			</div>
			</div>
		</div><!-- // content -->
	</div><!-- // wrap -->
</body>
</html>
